5 Hxvh Zlwk ' Hvljq 3 Dwwhuqv 7
نویسنده
چکیده
Two possible approaches to reuse with design patterns (DPs) are described: pattern-based design and pattern-related code composition. For pattern-based design, a new representation of DPs similar to class diagrams as well as different modes for creating an instance of DP are proposed. Design patterns (DPs) [2] capture and communicate approved design solutions. DPs identify participants, their roles and collaborations, and the distribution of responsibilities. A DP explains the rationale behind the solution. It describes when a DP is to be applied, and the consequences and trade-offs of its application. Without doubt, the key point in collecting DPs into catalogues is their reuse. Therefore we give a software reuse perspective on DPs. Particularly, we present a compositional view on reuse with DPs where DPs correspond to reusable components available and applicable during software development. DPs may be used as building blocks when a software system is developed. But current reuse with DPs differs from standard reuse practices-it proceeds manually and basically relies on reuser's own knowledge and experience. In this paper, we first give an overall view on reuse with DPs. An appropriate representation of DP solution is recognized as an important part of successful DP reuse. We thus propose a new way of DPs representation that complements current way of DP presentation in catalogues. A new model represents DP solution at its general and abstract level and allows to derive visible and manageable DP instances. Software reuse with DPs becomes more controlled and less error prone. For the reuse purposes, it is important to strictly distinguish between the terms DP and DP instance. In the reuse context, DP solution should be emphasised as well. A DP refers to the whole description as it occurs in a catalogue. A DP involves several sections describing the problem being solved, its context and solution. DP contains textual descriptions combined with diagrams or sample code. An emphasis is put on explaining the essence and applicability of DP. A DP instance is a product of DP reuse. It refers to those parts of software system that result from DP application. A DP instance is a part of the design/-implementation of a software system but not located in one place. Rather, it is scattered over several places and intertwined with other, to the DP non-relevant parts of design/code. Besides, there is no explicit information about the presence of DP instance in the software system so DP …
منابع مشابه
6hpl Dxwrpdwhg 'hvljq Ri +ljk 3huirupdqfh &rppxqlfdwlrq 6xev\vwhpv
$EVWUDFW ,PSOHPHQWDWLRQV RI FRPPXQLFDWLRQ SURWRFROV DUH W\SL FDOO\ EDVHG RQ KLJKO\ VSHFLDOL]HG FRPSRQHQWV H J 9/6, FKLSV IRU $70 $GDSWDWLRQ /D\HU SURFHVVLQJ 7KH GHYHO RSPHQW RI WKHVH VSHFLDOL]HG LPSOHPHQWDWLRQV LV YHU\ WLPH FRQVXPLQJ DQG WKXV MXVWLILHG RQO\ IRU KLJK YRO XPHV )RU D ODUJH QXPEHU RI PXOWLPHGLD DSSOLFDWLRQV LW ZRXOG EH GHVLUDEOH WR EH DEOH WR SURYLGH TXLFNO\ KLJK SHUIRUPDQFH LPSOHP...
متن کامل7kh $'5 5hsolfdwlrq 0dqdjhu
$'5 $WRPLF 'HOD\HG 5HSOLFDWLRQ LV D FRQWUROODEOH UHSOLFDWLRQ PDQDJHU LPSOHPHQWHG RQ WRS RI FRPPHUFLDO GLVWULEXWHG UHODWLRQDO GDWDEDVHV $'5¶V JRDO LV WR HQDEOH YDULRXV ZHOO GHILQHG WUDGH RIIV EHWZHHQ GDWDEDVH FRKHUHQFH WKURXJKSXW DQG UHVSRQVH WLPH LQ ODUJH GDWDEDVH QHWZRUNV H J IRU WHOHFRP DSSOLFDWLRQV %\ FRPELQLQJ D VWUDWHJ\ IRU GLVWULEXWHG GDWDEDVH GHVLJQ ZLWK D VSHFLILF UHSOLFDWLRQ SURWRFRO $...
متن کاملExtraction of Polish Named-Entities
,QWURGXFWLRQ 1DPHG HQWLWLHV 1( FRQVWLWXWH VLJQLILFDQW SDUW RI QDWXUDO ODQJXDJH WH[WV DQG DUH ZLGHO\ H[SORLWHG LQ YDULRXV 1/3 DSSOLFDWLRQV $OWKRXJK FRQVLGHUDEOH ZRUN RQ QDPHG HQWLW\ UHFRJQLWLRQ 1(5 IRU IHZ PDMRU ODQJXDJHV H[LVWV UHVHDUFK RQ WKLV WRSLF LQ WKH FRQWH[W RI 6ODYRQLF ODQJXDJHV KDV EHHQ DOPRVW QHJOHFWHG 6RPH 1(5 V\VWHPV IRU %XOJDULDQ DQG 5XVVLDQ FRQVWUXFWHG E\ DGDSWLQJ WKH IDPRXV LQIRU...
متن کاملMarcelo Lobosco, Anderson Faustino da Silva, Vtor Santos Costa e Claudio Amorim
$EVWUDFW 7KLV SDSHU HYDOXDWHV WKH SHUIRUPDQFH JDLQV SURYLGHG E\ 9,$ DQ 8VHU /HYHO &RPPXQLFDWLRQ 3URWRFROV ZKHQ FRPSDUHG WR 7&3 ,3 D WUDGLWLRQDO PXOWLOD\HUHG FRPPXQLFDWLRQ SURWRFRO 7R DFKLHYH WKLV SXUSRVH ZH UXQ ILYH GLVWLQFW DSSOLFDWLRQV XVLQJ WKH VDPH QHWZRUN FDUG DQG VZLWFK DQG MXVW FKDQJH WKH FRPPXQLFDWLRQ SURWRFRO )RU DOO EXW RQH DSSOLFDWLRQ WKH VSHHGXS RI 7&3 ,3 ZDV EHWZHHQ DQG WKDW RI DF...
متن کامل$evwudfw $ojrulwkp'hvfulswlrq 0dwfkhgg'hvluhgg,psxovhh5hvsrqvh
$EVWUDFW ,Q WKLV SDSHU WZR DGDSWLYH DQWHQQD EDVHG VFKHPHV IRU LQWHUIHUHQFH VXSSUHVVLRQ LQ WKH 7'' PRGH RI 875$ DUH LQYHVWLJDWHG ,Q WKH ILUVW DSSURDFK UHIHUUHG WR DV 0DWFKHG 'HVLUHG ,PSXOVH 5HFHLYHU 0',5 D QDUURZEDQG EHDPIRUPHU DLPLQJ WR FDQFHO RXW LQWHUIHUHUV LV SODFHG SULRU WR WKH VLQJOH XVHU GDWD GHWHFWLRQ VWDJH ,Q FRQWUDVW LQWUDFHOO XVHUV DUH MRLQWO\ GHWHFWHG LQ WKH PXOWL DQWHQQD -' 006( -RL...
متن کامل